package com.sanjiahantang.youjiaclient.module.common.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiaclient.base.BaseBean;

import java.util.List;

/**
 * Created by zy on 2017/10/16.
 */

public class HelpBean extends BaseBean {

    private String data;

    public Data getData() {
        return new Gson().fromJson(data,Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data extends ListBean{
        private List<Item> list;

        public List<Item> getList() {
            return list;
        }

        public void setList(List<Item> list) {
            this.list = list;
        }
    }

    public Item getItem(){
        return new Gson().fromJson(data,Item.class);
    }


    public static class Item {
        private String arTitle;
        private int articleNo;
        private String arContent;
        private String arHelpAndTrain;
        private int arSort;
        private String createTime;
        private String url;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getArContent() {
            return arContent;
        }

        public void setArContent(String arContent) {
            this.arContent = arContent;
        }

        public String getArHelpAndTrain() {
            return arHelpAndTrain;
        }

        public void setArHelpAndTrain(String arHelpAndTrain) {
            this.arHelpAndTrain = arHelpAndTrain;
        }

        public int getArSort() {
            return arSort;
        }

        public void setArSort(int arSort) {
            this.arSort = arSort;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getArTitle() {
            return arTitle;
        }

        public void setArTitle(String arTitle) {
            this.arTitle = arTitle;
        }

        public int getArticleNo() {
            return articleNo;
        }

        public void setArticleNo(int articleNo) {
            this.articleNo = articleNo;
        }
    }
}
